@charset "utf-8" ; 

// 一些用来继承的样式类
%fontfamily {
    font-family: "Droid Sans Fallback","Microsoft YaHei";
}

%mid {  // 同一行多个元素横向对齐
    display: inline-block;
    vertical-align: middle ; 
}

%center {
    margin-top:50%;
    margin-right:50%;
    transform:translate(-50%,-50%) ; 
}

%center-x {
    margin-left:50%;
    transform :translateX(-50%) ; 
}

%center-y {
    margin-top:50%;
    transform :translateY(-50%) ; 
    -webkit-transform :translateY(-50%) ; 
}

%ell {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

%face {
    width:46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    border:2px solid #fff;
}
%faceimg {
    width:100%;
    height: 100%;
}

%tag {
    padding:0 6px;
    border:1px solid #f68484 ;
    color:#f68484;
    border-radius:2px;
    @extend %mid ; 
    line-height: 18px;
    margin-left:6px;
}
